package com.js.xnmn;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

//@Entity
//@Table(name="product_info")
public class Produc implements Serializable{

//	@Id
	private String proId;
	private String proname;//名称
	private String protype;//月费卡、年费卡、次卡、及其他
	private String propic;//会员卡图片
	private int monthcount;//几个月（年月卡）
	private int acctimes;//次卡的次数（仅针对次卡）
	private long proprice;//价格——次卡为次卡的价格（比如一次20元、5次90元）
	
	private int yxq;//有效期/月（自购买产品以后，多少个月内有效，主要针对次卡用户）
	
	public String getProId() {
		return proId;
	}
	public void setProId(String proId) {
		this.proId = proId;
	}
	public String getProname() {
		return proname;
	}
	public void setProname(String proname) {
		this.proname = proname;
	}
	public String getProtype() {
		return protype;
	}
	public void setProtype(String protype) {
		this.protype = protype;
	}
	public String getPropic() {
		return propic;
	}
	public void setPropic(String propic) {
		this.propic = propic;
	}
	public int getMonthcount() {
		return monthcount;
	}
	public void setMonthcount(int monthcount) {
		this.monthcount = monthcount;
	}
	
	public int getAcctimes() {
		return acctimes;
	}
	public void setAcctimes(int acctimes) {
		this.acctimes = acctimes;
	}
	public long getProprice() {
		return proprice;
	}
	public void setProprice(long proprice) {
		this.proprice = proprice;
	}
	public int getYxq() {
		return yxq;
	}
	public void setYxq(int yxq) {
		this.yxq = yxq;
	}
	
	
}
